package com.ytktt.study.week9.task3.rpcfx.enums;

/**
 * 错误枚举
 *
 * @author ytk
 */
public interface ErrEnum<E extends Enum<E>> {

    /**
     * 获取错误码
     *
     * @return the err code
     */
    Integer getErrCode();

    /**
     * 获取错误信息
     *
     * @return the err msg
     */
    String getErrMsg();
}
